<?php
App::uses('AppModel', 'Model');

class Riport extends AppModel {

	public $validate = array(
		'riport' => array(
			'notempty' => array(
				'rule' => array('notempty'),
				'message' => 'Aggyá neki nevet!'
			)));

	public $hasMany = array(
		'Riportsor' => array(
			'className' => 'Riportsor',
			'foreignKey' => 'riport_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		)
	);

}
